package com.gtw.modules.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCommodity;
import com.gtw.modules.entity.TbDiscuss;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/** 商品评论
 * @author wuye
 */
@Mapper
@Repository
public interface TbDiscussDao {

    int deleteByPrimaryKey(Integer id);

    int insert(TbDiscuss record);

    int insertSelective(TbDiscuss record);

    TbDiscuss selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbDiscuss record);

    int updateByPrimaryKey(TbDiscuss record);

    List<TbDiscuss> queryPageList(Page<TbDiscuss> page, Map<String, Object> map);
}